﻿#pragma once

#include <memory>
#include <iostream>

class Node
{
public:
	int _val;
	std::shared_ptr<Node> _prev;
	std::shared_ptr<Node> _next;

	~Node();
};

class A
{
public:
	~A();
};

class B
{
public:
	A a;
	~B();
};